
class TopoConduct {
    constructor() {
        this.id = 0;
        this.refID = 0;//关联线的UUID，不是GID，是RID
    }

    toJson() {
        var jsonobj = {};
        jsonobj["id"] = this.id;
        jsonobj["refID"] = this.refID;
        return jsonobj;
    }
    fromJson(obj) {
        this.refID = obj["refID"];
        this.id = obj["id"];
    }

    cloneCopy() {
        var pNewInfo = new TopoConduct();
        pNewInfo.refID = this.refID;
        pNewInfo.id = this.id;
        return pNewInfo;
    }
}

export default { TopoConduct }